package com.hyt.it.ogt.kq.service.bm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.common.apiInfor.ApiResponse;
import com.hyt.it.ogt.kq.service.bm.model.entity.StudentSubject;
import com.hyt.it.ogt.kq.service.bm.model.entity.StudentVerify;
import com.hyt.it.ogt.kq.service.bm.model.vo.StuSubjectVo;
import com.hyt.it.ogt.kq.service.bm.model.vo.StudentVerifyVo;

import java.util.List;

/**
 * <p>
 * 考生审核表 服务类
 * </p>
 *
 * @author wangt
 * @since 2020-05-15
 */
public interface IStudentVerifyService extends IService<StudentVerify> {

    void updateAudit(StudentVerify sVerify);

    List<StudentVerify> getStuByAuditStatus(List<String> stuIds);

    List<StudentVerifyVo> queryAuditStudentCauseList(String projectId, String studentId);

    String getSubjectName(String subjectId, String projectId);

    /***
     * 审核考生接口
     * @param sVerify
     * @return
     * @throws Exception
     */
    ApiResponse<Object> auditStudentSubject(StudentVerify sVerify);

    /**
     * 管理端删除考生科目
     *
     * @param studentSubject
     */
    void deleteStudentSubject(StudentSubject studentSubject);

    /**
     * 管理端添加考生报名科目
     *
     * @param stuSubjectVo
     */
    void addSubject(StuSubjectVo stuSubjectVo);
}
